package com.gl.order.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: liangSY
 * @Date: 2021/6/26
 * @ClassName: OrderDto
 * @Description: OrderDto描述
 */
@ApiModel("添加订单相关参数")
@Data
public class OrderDto {

    @ApiModelProperty("订单编号")
    @NotBlank(message = "订单编号不能为空")
    private String orderNo;

    @ApiModelProperty("订单类型")
    @NotBlank(message = "订单类型不能为空")
    private String orderType;

    @ApiModelProperty("产品类型")
    @NotBlank(message = "产品类型不能为空")
    private String productType;

    @ApiModelProperty("复制订单标识")
    private Boolean isCopy;

    @ApiModelProperty("产品名称")
    private String name;

    @ApiModelProperty(notes = "面料属性",dataType = "List")
    private List<LiningDto> linings;

    @ApiModelProperty("产品备注")
    private String productRemark;

    @ApiModelProperty("快递公司")
    private String dhl;

    @ApiModelProperty("纸样类型")
    private String pattern;

    @ApiModelProperty("纸样追加信息")
    private String patternSpecification;

    @ApiModelProperty("印花工艺")
    private String patternProcess;

    @ApiModelProperty("印花备注")
    private String patternRemark;

    @ApiModelProperty(value = "单价",example = "1")
    private BigDecimal price;

    @ApiModelProperty(value = "数量",example = "1")
    private BigDecimal num;

    @ApiModelProperty(value = "留样数量",example = "1")
    private BigDecimal sampleNum;

    @ApiModelProperty(value = "预付款",example = "100")
    private BigDecimal advance;

    @ApiModelProperty(value = "抵扣金额",example = "100")
    private BigDecimal deduction;

    @ApiModelProperty("货款备注")
    private String paymentRemark;

    @ApiModelProperty("支付方式")
    private String paymentWay;

    @ApiModelProperty("所属组")
    private String groupId;

    @ApiModelProperty("客户")
    private String customerId;

    @ApiModelProperty("所属销售")
    private String marketUserId;

    @ApiModelProperty("所属客服")
    private String customerServiceId;

    @ApiModelProperty("车衣工艺")
    private String carClothesProcess;

    @ApiModelProperty(notes = "尺码",dataType = "List")
    private List<SizeDto> sizes;

    @ApiModelProperty("地址id")
    private String addressId;

    @ApiModelProperty("其他款项")
    private BigDecimal otherFunds;

    @ApiModelProperty("其他款项备注")
    private String otherFundsRemark;

    @ApiModelProperty("出货日期")
    private String shipmentTime;
}
